﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Collections;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x02001189 RID: 4489
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SetRogueCollectionScRsp : IMessage<SetRogueCollectionScRsp>, IMessage, IEquatable<SetRogueCollectionScRsp>, IDeepCloneable<SetRogueCollectionScRsp>, IBufferMessage
	{
		// Token: 0x170038CB RID: 14539
		// (get) Token: 0x0600C8ED RID: 51437 RVA: 0x0021D90B File Offset: 0x0021BB0B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SetRogueCollectionScRsp> Parser
		{
			get
			{
				return SetRogueCollectionScRsp._parser;
			}
		}

		// Token: 0x170038CC RID: 14540
		// (get) Token: 0x0600C8EE RID: 51438 RVA: 0x0021D912 File Offset: 0x0021BB12
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SetRogueCollectionScRspReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x170038CD RID: 14541
		// (get) Token: 0x0600C8EF RID: 51439 RVA: 0x0021D924 File Offset: 0x0021BB24
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SetRogueCollectionScRsp.Descriptor;
			}
		}

		// Token: 0x0600C8F0 RID: 51440 RVA: 0x0021D92B File Offset: 0x0021BB2B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueCollectionScRsp()
		{
		}

		// Token: 0x0600C8F1 RID: 51441 RVA: 0x0021D94C File Offset: 0x0021BB4C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueCollectionScRsp(SetRogueCollectionScRsp other) : this()
		{
			this.retcode_ = other.retcode_;
			this.fIOFEMAOALK_ = other.fIOFEMAOALK_.Clone();
			this.gAPCAPJGGIE_ = other.gAPCAPJGGIE_.Clone();
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600C8F2 RID: 51442 RVA: 0x0021D99E File Offset: 0x0021BB9E
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SetRogueCollectionScRsp Clone()
		{
			return new SetRogueCollectionScRsp(this);
		}

		// Token: 0x170038CE RID: 14542
		// (get) Token: 0x0600C8F3 RID: 51443 RVA: 0x0021D9A6 File Offset: 0x0021BBA6
		// (set) Token: 0x0600C8F4 RID: 51444 RVA: 0x0021D9AE File Offset: 0x0021BBAE
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint Retcode
		{
			get
			{
				return this.retcode_;
			}
			set
			{
				this.retcode_ = value;
			}
		}

		// Token: 0x170038CF RID: 14543
		// (get) Token: 0x0600C8F5 RID: 51445 RVA: 0x0021D9B7 File Offset: 0x0021BBB7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<ENLENIJDDPL> FIOFEMAOALK
		{
			get
			{
				return this.fIOFEMAOALK_;
			}
		}

		// Token: 0x170038D0 RID: 14544
		// (get) Token: 0x0600C8F6 RID: 51446 RVA: 0x0021D9BF File Offset: 0x0021BBBF
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public RepeatedField<PBHEJHECOFJ> GAPCAPJGGIE
		{
			get
			{
				return this.gAPCAPJGGIE_;
			}
		}

		// Token: 0x0600C8F7 RID: 51447 RVA: 0x0021D9C7 File Offset: 0x0021BBC7
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SetRogueCollectionScRsp);
		}

		// Token: 0x0600C8F8 RID: 51448 RVA: 0x0021D9D8 File Offset: 0x0021BBD8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SetRogueCollectionScRsp other)
		{
			return other != null && (other == this || (this.Retcode == other.Retcode && this.fIOFEMAOALK_.Equals(other.fIOFEMAOALK_) && this.gAPCAPJGGIE_.Equals(other.gAPCAPJGGIE_) && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600C8F9 RID: 51449 RVA: 0x0021DA3C File Offset: 0x0021BC3C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.Retcode != 0U)
			{
				num ^= this.Retcode.GetHashCode();
			}
			num ^= this.fIOFEMAOALK_.GetHashCode();
			num ^= this.gAPCAPJGGIE_.GetHashCode();
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600C8FA RID: 51450 RVA: 0x0021DA97 File Offset: 0x0021BC97
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600C8FB RID: 51451 RVA: 0x0021DA9F File Offset: 0x0021BC9F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600C8FC RID: 51452 RVA: 0x0021DAA8 File Offset: 0x0021BCA8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			this.gAPCAPJGGIE_.WriteTo(ref output, SetRogueCollectionScRsp._repeated_gAPCAPJGGIE_codec);
			if (this.Retcode != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.Retcode);
			}
			this.fIOFEMAOALK_.WriteTo(ref output, SetRogueCollectionScRsp._repeated_fIOFEMAOALK_codec);
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600C8FD RID: 51453 RVA: 0x0021DB08 File Offset: 0x0021BD08
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.Retcode != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.Retcode);
			}
			num += this.fIOFEMAOALK_.CalculateSize(SetRogueCollectionScRsp._repeated_fIOFEMAOALK_codec);
			num += this.gAPCAPJGGIE_.CalculateSize(SetRogueCollectionScRsp._repeated_gAPCAPJGGIE_codec);
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600C8FE RID: 51454 RVA: 0x0021DB6C File Offset: 0x0021BD6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SetRogueCollectionScRsp other)
		{
			if (other == null)
			{
				return;
			}
			if (other.Retcode != 0U)
			{
				this.Retcode = other.Retcode;
			}
			this.fIOFEMAOALK_.Add(other.fIOFEMAOALK_);
			this.gAPCAPJGGIE_.Add(other.gAPCAPJGGIE_);
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600C8FF RID: 51455 RVA: 0x0021DBCA File Offset: 0x0021BDCA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600C900 RID: 51456 RVA: 0x0021DBD4 File Offset: 0x0021BDD4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 10U)
				{
					if (num != 56U)
					{
						if (num != 122U)
						{
							this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
						}
						else
						{
							this.fIOFEMAOALK_.AddEntriesFrom(ref input, SetRogueCollectionScRsp._repeated_fIOFEMAOALK_codec);
						}
					}
					else
					{
						this.Retcode = input.ReadUInt32();
					}
				}
				else
				{
					this.gAPCAPJGGIE_.AddEntriesFrom(ref input, SetRogueCollectionScRsp._repeated_gAPCAPJGGIE_codec);
				}
			}
		}

		// Token: 0x040050AC RID: 20652
		private static readonly MessageParser<SetRogueCollectionScRsp> _parser = new MessageParser<SetRogueCollectionScRsp>(() => new SetRogueCollectionScRsp());

		// Token: 0x040050AD RID: 20653
		private UnknownFieldSet _unknownFields;

		// Token: 0x040050AE RID: 20654
		public const int RetcodeFieldNumber = 7;

		// Token: 0x040050AF RID: 20655
		private uint retcode_;

		// Token: 0x040050B0 RID: 20656
		public const int FIOFEMAOALKFieldNumber = 15;

		// Token: 0x040050B1 RID: 20657
		private static readonly FieldCodec<ENLENIJDDPL> _repeated_fIOFEMAOALK_codec = FieldCodec.ForMessage<ENLENIJDDPL>(122U, ENLENIJDDPL.Parser);

		// Token: 0x040050B2 RID: 20658
		private readonly RepeatedField<ENLENIJDDPL> fIOFEMAOALK_ = new RepeatedField<ENLENIJDDPL>();

		// Token: 0x040050B3 RID: 20659
		public const int GAPCAPJGGIEFieldNumber = 1;

		// Token: 0x040050B4 RID: 20660
		private static readonly FieldCodec<PBHEJHECOFJ> _repeated_gAPCAPJGGIE_codec = FieldCodec.ForMessage<PBHEJHECOFJ>(10U, PBHEJHECOFJ.Parser);

		// Token: 0x040050B5 RID: 20661
		private readonly RepeatedField<PBHEJHECOFJ> gAPCAPJGGIE_ = new RepeatedField<PBHEJHECOFJ>();
	}
}
